package bist.believeinstep.dao;

import java.util.List;

import bist.believeinstep.domain.User;

public interface UserDAO {

/* method to be used to create a record in User table*/
	public void createUser(User user);
	/*method dung de lay 1 user theo id*/
	public User getUser(Integer id);
	public User getUser(String code);
	public List<User> listUser();
	/*method dung xoa 1 user*/
	public void deleteUser(Integer userId);
	public void deleteUser(String code);
	/*method dùng update user*/
	public void updateUser(User user);
}